//
//  ChooseImageViewController.h
//  XDBaseFrameWork
//
//  Created by xindao on 14-9-25.
//  Copyright (c) 2014年 XD-XY. All rights reserved.
//

#import "XDBaseViewController.h"
#import "ChooseImageCell.h"
#import "XHImageViewer.h"
#import "PhotoDetailViewController.h"
//#import "mj"
@protocol ChooseImageViewControllerDelegate <NSObject>

- (void)havePushIndex:(int)indexNum photo:(NSString *)type photoCover:(NSString *)photoCover;

@end
@interface ChooseImageViewController : XDBaseViewController<UITableViewDataSource,UITableViewDelegate,ChooseImageCellDelegate,PhotoDetailDelegate,UIAlertViewDelegate>
{
    NSMutableArray * imageUrlArray;

    UITableView * myTableView;
    NSMutableArray * dataArray;

    UILabel * showLB;

    int sum;
    NSString * coverStr;
    
    SEL  sel;      //支付宝回调方法
}
@property (nonatomic,assign) BOOL canChoose;
@property (nonatomic,copy) NSString * titleStr;
@property (nonatomic,copy) NSString * orderID;
@property (nonatomic,copy) NSString * maxNumber;
@property (nonatomic,copy) NSString * allCount;
@property (nonatomic,copy) NSString * photoPrice;
@property (nonatomic,copy) NSString * orderProID;
@property (nonatomic,copy) NSString * phototype;
@property (nonatomic,assign) int indexNum;
@property (nonatomic,assign) BOOL havePush;
@property (nonatomic,assign) id <ChooseImageViewControllerDelegate> delegate;
//@property (nonatomic,strong) NSMutableArray * dataArray;

- (void)freshRootVC;
@end
